$(document).ready(function () {
    hdde.onload();
})
var hdde = (function () {
	var init = function () {
    	layui.use('form', function(){
			  var form = layui.form
		});
    }
    return {
        onload : function () {
        	init();
            hdde.tableDataHd();
        },
       /*表格数据交互*/
      tableDataHd: function() {
 		var data = [{
 				"number": "1",
 				"sfdq":"否",
 				"zsxm":"增值税",
 				"zspm":"建筑服务",
 				"hdzxqq":"2018-09-15",
 				"hdzxqz":"2018-09-15",
 				"sjzxqz":"2018-09-15",
 				"ynjyse":"320,222.00",
 				"sl":"0.00",
 				"hdse":"0.00",
 				"ynse":"200.00"
 			
 			},
 			{
 				"number": "2",
 				"sfdq":'是',
 				"zsxm":"房产税",
 				"zspm":"从租计征",
 				"hdzxqq":"2018-09-15",
 				"hdzxqz":"2018-09-15",
 				"sjzxqz":"2018-09-15",
 				"ynjyse":"320,222.00",
 				"sl":"0.00",
 				"hdse":"0.00",
 				"ynse":"200.00"
 			
 			}
 			
 		];
 		$('#wepHddexx').DataTable({
 			"data": data,
 			"columns": [
 			    {
 					"data": "number"
 				},
 				{
 					"data": "sfdq"
 				},
 				{
 					"data": "zsxm"
 				},
 				{
 					"data": "zspm"
 				},
 				{
 					"data": "hdzxqq"
 				},
 				{
 					"data": "hdzxqz"
 				},
 				{
 					"data": "sjzxqz"
 				},
 				{
 					"data": "ynjyse"
 				},
 				{
 					"data": "sl"
 				},
 				{
 					"data": "hdse"
 				},
 				{
 					"data": "ynse"
 				}
 			],
// 			"paging": false,
 			"info": false,
 			"ordering": false,
 			"lengthChange": false,
 			"searching": false,
   			"scrollX": true
 		});
 		}
     }
})();